package com.iraeta.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.iraeta.entity.Student;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface StudentMapper extends BaseMapper<Student> {
    List<Student> selectStudentByAge(@Param("minage") int minAge, @Param("maxage") int maxAge);
}
